package com.secsys.action.content;

import com.secsys.action.BaseAction;
import com.secsys.dto.SysContentDTO;
import com.secsys.model.TbSysContent;
import com.secsys.service.SysContentService;

public class ContentManagerAction extends BaseAction<SysContentDTO>{
	private SysContentService contentService;
	private TbSysContent tbSysContent;
	private SysContentDTO sysContentDTO;
	
	public String addContent()throws Exception{
		
		return "success";
	}
	public String editContent()throws Exception{
		
		return "success";
	}
	public String updateContent()throws Exception{
		
		return "success";
	}
	public String deleteContent()throws Exception{
		
		return "success";
	}
	
	
	@Override
	public SysContentDTO getModel() {
		if (sysContentDTO==null) {
			sysContentDTO=new SysContentDTO();
		}
		return sysContentDTO;
	}
	public SysContentService getContentService() {
		return contentService;
	}
	public void setContentService(SysContentService contentService) {
		this.contentService = contentService;
	}
	public TbSysContent getTbSysContent() {
		return tbSysContent;
	}
	public void setTbSysContent(TbSysContent tbSysContent) {
		this.tbSysContent = tbSysContent;
	}
	public SysContentDTO getSysContentDTO() {
		return sysContentDTO;
	}
	public void setSysContentDTO(SysContentDTO sysContentDTO) {
		this.sysContentDTO = sysContentDTO;
	}
	
}
